package com.zretc.api.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

@Data
public class Point {
    private Integer id; // 积分事件id

    private Integer userId; // 用户id

    private String userAction; // 积分变动行为

    private Integer variation; // 积分变化数值

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createdTime; // 变动时间
}
